Skip to content

Redesign infractions embed#2526

Merged
mbaruh merged 3 commits into
mainfrom
new_infr_embeds
Apr 13, 2023
Merged

Redesign infractions embed#2526
mbaruh merged 3 commits into
mainfrom
new_infr_embeds

Conversation

@mbaruh
Copy link
Copy Markdown
Member

@mbaruh mbaruh commented Apr 10, 2023

Redesigns the infractions embed to be more concise and compact.

Before:
image
After:
image

The new embeds has a row of symbols that are explained in the help embeds of the appropriate commands:
image
I expect more symbols to be added in the future once the DB and bot can support them, such as the reason being edited, the infraction being manually pardoned (e.g due to an appeal), and the context link leading to a modmail log.

@mbaruh mbaruh requested review from Den4200, jb3 and ks129 as code owners April 10, 2023 13:58
Comment thread bot/exts/moderation/infraction/management.py Outdated
@mbaruh mbaruh added a: frontend Related to output and formatting a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority t: enhancement Changes or improvements to existing features labels Apr 10, 2023
@vivekashok1221 vivekashok1221 self-requested a review April 11, 2023 07:37
Copy link
Copy Markdown
Contributor

@wookie184 wookie184 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you timeout and then untimeout a user, it is unclear that the timeout is no longer active in the infraction listing.

I know for active timeouts it specifically says they are active, but seeing this:
image

still makes me think that it is active, due to the expiry.

@mbaruh mbaruh requested a review from wookie184 April 12, 2023 18:26
Copy link
Copy Markdown
Contributor

@wookie184 wookie184 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I'll let you merge

@mbaruh mbaruh enabled auto-merge (squash) April 13, 2023 14:30
@mbaruh mbaruh merged commit e8ef3a2 into main Apr 13, 2023
@mbaruh mbaruh deleted the new_infr_embeds branch April 13, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: frontend Related to output and formatting a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority t: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants